package com.yxb.order.service;

import java.util.List;
import com.yxb.order.domain.TeachingOrder;

/**
 * 教学订单合约Service接口
 * 
 * @author 林德炫
 * @date 2025-03-04
 */
public interface ITeachingOrderService 
{
    /**
     * 查询教学订单合约
     * 
     * @param orderId 教学订单合约主键
     * @return 教学订单合约
     */
    public TeachingOrder selectTeachingOrderByOrderId(Long orderId);

    /**
     * 查询教学订单合约列表
     * 
     * @param teachingOrder 教学订单合约
     * @return 教学订单合约集合
     */
    public List<TeachingOrder> selectTeachingOrderList(TeachingOrder teachingOrder);

    /**
     * 新增教学订单合约
     * 
     * @param teachingOrder 教学订单合约
     * @return 结果
     */
    public int insertTeachingOrder(TeachingOrder teachingOrder);

    /**
     * 修改教学订单合约
     * 
     * @param teachingOrder 教学订单合约
     * @return 结果
     */
    public int updateTeachingOrder(TeachingOrder teachingOrder);

    /**
     * 批量删除教学订单合约
     * 
     * @param orderIds 需要删除的教学订单合约主键集合
     * @return 结果
     */
    public int deleteTeachingOrderByOrderIds(Long[] orderIds);

    /**
     * 删除教学订单合约信息
     * 
     * @param orderId 教学订单合约主键
     * @return 结果
     */
    public int deleteTeachingOrderByOrderId(Long orderId);
}
